<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="header.jsp" %>
</head>
<body>
<form id="alertForm" action="addUser.html" method="post">
<table style="margin:10px;">
	<tr>
		<td class="label"><fmt:message key="admin.user.userid"/></td>
		<td><input type="text" id="userid" name="userid" class="easyui-validatebox" data-options="required:true"></td>
	</tr>
	<tr>
		<td class="label"><fmt:message key="admin.user.password"/></td>
		<td><input type="password" id="password" name="password" class="easyui-validatebox" data-options="required:true"></td>
	</tr>
	<tr>
		<td class="label"><fmt:message key="admin.user.username"/></td>
		<td><input type="text" id="username" name="username" class="easyui-validatebox" data-options="required:true"></td>
	</tr>
	<tr>
		<td class="label"><fmt:message key="admin.user.roleid"/></td>
		<td><input type="text" id="roleid" name="roleid" class="easyui-validatebox"></td>
	</tr>
	<tr>
		<td class="label"><fmt:message key="admin.user.superman"/></td>
		<td><input type="checkbox" id="superman" name="superman" value="Yes" class="easyui-validatebox" data-options="required:true"></td>
	</tr>
	<tr>
		<td class="label"><fmt:message key="admin.user.lock"/></td>
		<td><input type="checkbox" id="lock" name="lock" value="Yes" class="easyui-validatebox" data-options="required:true"></td>
	</tr>
	<tr>
		<td colspan="2" id="message" class="error" align="right">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="2" align="center">
			<a href="javascript:void(0)" onclick="validSubmit()" class="easyui-linkbutton"><fmt:message key="admin.user.add"/></a>
			<a href="javascript:void(0)" onclick="$('#dialog').dialog('close');" class="easyui-linkbutton"><fmt:message key="admin.user.cancel"/></a>
		</td>
	</tr>
</table>
</form>
</body>
</html>